package com.example.zselasticsearchsf.config.es.respons;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 搜索返回的结果
 * @Author: Steven
 * @Date: 2021/11/3 22:57
 */
@Data
@EqualsAndHashCode
public class SearchRepDto implements Serializable {
        //索引id
        private String id;
        private String type;
        //高亮字段
        private String highlightField;
        //返回的一条结果
        private  Object sourceAsString;

}
